package com.zhang.zhangapp.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2018/4/2.
 */

public class ZFile implements Parcelable{

    private String picurl;
    private String no;
    private String name;
    private String link;

    public  ZFile(){
        super();
    }

    protected ZFile(Parcel in) {
        picurl = in.readString();
        no = in.readString();
        name = in.readString();
        link = in.readString();
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public static final Creator<ZFile> CREATOR = new Creator<ZFile>() {
        @Override
        public ZFile createFromParcel(Parcel in) {
            return new ZFile(in);
        }

        @Override
        public ZFile[] newArray(int size) {
            return new ZFile[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(picurl);
        parcel.writeString(no);
        parcel.writeString(name);
        parcel.writeString(link);
    }

}
